/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.att.config;

import com.android.ddmlib.IDevice;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author lenovo
 */
public class Attconfig {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        AndroidProxy proxy = AndroidProxy.getInstance();
        try {
            proxy.connection();
        } catch (InterruptedException ex) {
            Logger.getLogger(Attconfig.class.getName()).log(Level.SEVERE, null, ex);
        }
        IDevice device = proxy.getDevice();
        String sn = device.getSerialNumber();
        MainFrame frame = new MainFrame();
        frame.setTitle(sn);
        frame.setVisible(true);
        
    }
}
